
def reverse(text):
    # 反转 -1反转
    return text[::-1]


# 回文
def is_palindrome(text):
    return text == reverse(text)


str = input("enter some text >>")
if is_palindrome(str):
    print("yes it is")
else:
    print("no ")
